package com.pactera.madp.cp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pactera.madp.common.core.util.R;
import com.pactera.madp.cp.api.dto.wxGZH.KeywordAddDTO;
import com.pactera.madp.cp.api.dto.wxGZH.KeywordUpdateDTO;
import com.pactera.madp.cp.api.entity.wxgzh.KeyWordEntity;
import com.pactera.madp.cp.api.vo.wxgzh.QueryKeywordVO;
import java.util.List;

public interface WxGzhKeywordService extends IService<KeyWordEntity> {

    List<String> getMsgByKeyword(String content, Integer corpId);

    Boolean saveKeyword(KeywordAddDTO dto);

    Boolean updateKeyword(KeywordUpdateDTO dto);

    Boolean deleteKeyword(Integer id);

    R<Page<List<QueryKeywordVO>>> pageQuery(Page page, String problem);

}
